package com.baofu.paycore.common.exception;


import com.baofu.paycore.service.facade.enums.PayCoreErrorCode;

/**
 * User: LZQ
 *
 * 统一支付业务层异常
 */
public class PayCoreBizException extends PayCoreBaseException {
    public PayCoreBizException(PayCoreErrorCode errorCode, Throwable cause) {
        this(errorCode, null, cause);
    }

    public PayCoreBizException(PayCoreErrorCode errorCode, String extraMsg, Throwable cause) {
        super(errorCode, extraMsg, cause);
    }

    public PayCoreBizException(PayCoreErrorCode errorCode) {
        this(errorCode, null, null);
    }

    public PayCoreBizException(PayCoreErrorCode errorCode, String extraMsg) {
        this(errorCode, extraMsg, null);
    }
}
